package com.wanmait.baohan.pojo;

import java.io.Serializable;
import java.util.Date;

public class BusinessContact implements Serializable {
    private Integer id;

    /**
	* 所属企业id
	*/
    //private Integer supplierId;
    private Supplier supplier;

    public Supplier getSupplier() {
        return supplier;
    }

    public void setSupplier(Supplier supplier) {
        this.supplier = supplier;
    }

    /**
	* 联系人
	*/
    private String name;

    /**
	* 部门
	*/
    private String department;

    /**
	* 职务
	*/
    private String post;

    /**
	* 分组
	*/
    private String group;

    /**
	* 负责货物品类（数据字典获取）
	*/
    //private Integer responsibleGoodsCategory;
    private Dictionary dictionaryA;

    /**
	* 负责货物品种
	*/
    //private String responsibleGoodsVarieties;
    private Dictionary dictionaryB;

    public Dictionary getDictionaryA() {
        return dictionaryA;
    }

    public void setDictionaryA(Dictionary dictionaryA) {
        this.dictionaryA = dictionaryA;
    }

    public Dictionary getDictionaryB() {
        return dictionaryB;
    }

    public void setDictionaryB(Dictionary dictionaryB) {
        this.dictionaryB = dictionaryB;
    }

    /**
	* 负责货物来源
	*/
    private String responsibleGoodsSource;

    /**
	* 负责货物流向
	*/
    private String responsibleGoodsTo;

    /**
	* 固话
	*/
    private String fixedLine;

    /**
	* 手机
	*/
    private String phone;

    /**
	* 传真
	*/
    private String fax;

    /**
	* 邮编
	*/
    private String postcode;

    /**
	* 地址
	*/
    private String address;

    /**
	* 邮箱
	*/
    private String email;

    /**
	* 备注
	*/
    private String remarks;

    /**
	* 0删除  1正常
	*/
    private Boolean enable;

    /**
	* 添加人id
	*/
    private Integer addStaffId;

    /**
	* 添加时间
	*/
    private Date addTime;

    /**
	* 修改人
	*/
    private Integer updatStaffId;

    /**
	* 修改时间
	*/
    private Date updateTime;

    private static final long serialVersionUID = 1L;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    /*public Integer getSupplierId() {
        return supplierId;
    }

    public void setSupplierId(Integer supplierId) {
        this.supplierId = supplierId;
    }*/

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDepartment() {
        return department;
    }

    public void setDepartment(String department) {
        this.department = department;
    }

    public String getPost() {
        return post;
    }

    public void setPost(String post) {
        this.post = post;
    }

    public String getGroup() {
        return group;
    }

    public void setGroup(String group) {
        this.group = group;
    }


    public String getResponsibleGoodsSource() {
        return responsibleGoodsSource;
    }

    public void setResponsibleGoodsSource(String responsibleGoodsSource) {
        this.responsibleGoodsSource = responsibleGoodsSource;
    }

    public String getResponsibleGoodsTo() {
        return responsibleGoodsTo;
    }

    public void setResponsibleGoodsTo(String responsibleGoodsTo) {
        this.responsibleGoodsTo = responsibleGoodsTo;
    }

    public String getFixedLine() {
        return fixedLine;
    }

    public void setFixedLine(String fixedLine) {
        this.fixedLine = fixedLine;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getFax() {
        return fax;
    }

    public void setFax(String fax) {
        this.fax = fax;
    }

    public String getPostcode() {
        return postcode;
    }

    public void setPostcode(String postcode) {
        this.postcode = postcode;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getRemarks() {
        return remarks;
    }

    public void setRemarks(String remarks) {
        this.remarks = remarks;
    }

    public Boolean getEnable() {
        return enable;
    }

    public void setEnable(Boolean enable) {
        this.enable = enable;
    }

    public Integer getAddStaffId() {
        return addStaffId;
    }

    public void setAddStaffId(Integer addStaffId) {
        this.addStaffId = addStaffId;
    }

    public Date getAddTime() {
        return addTime;
    }

    public void setAddTime(Date addTime) {
        this.addTime = addTime;
    }

    public Integer getUpdatStaffId() {
        return updatStaffId;
    }

    public void setUpdatStaffId(Integer updatStaffId) {
        this.updatStaffId = updatStaffId;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", supplierId=").append(supplier.getId());
        sb.append(", name=").append(name);
        sb.append(", department=").append(department);
        sb.append(", post=").append(post);
        sb.append(", group=").append(group);
        //sb.append(", responsibleGoodsCategory=").append(responsibleGoodsCategory);
        //sb.append(", responsibleGoodsVarieties=").append(responsibleGoodsVarieties);
        sb.append(", responsibleGoodsSource=").append(responsibleGoodsSource);
        sb.append(", responsibleGoodsTo=").append(responsibleGoodsTo);
        sb.append(", fixedLine=").append(fixedLine);
        sb.append(", phone=").append(phone);
        sb.append(", fax=").append(fax);
        sb.append(", postcode=").append(postcode);
        sb.append(", address=").append(address);
        sb.append(", email=").append(email);
        sb.append(", remarks=").append(remarks);
        sb.append(", enable=").append(enable);
        sb.append(", addStaffId=").append(addStaffId);
        sb.append(", addTime=").append(addTime);
        sb.append(", updatStaffId=").append(updatStaffId);
        sb.append(", updateTime=").append(updateTime);
        sb.append("]");
        return sb.toString();
    }
}